GtkStyleContext: Add animation machinery.
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Aug 2010 20:35:42 +0000 (22:35 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:37:38 +0000 (15:37 +0100)
commit61a0544b8be39cfdcac6d3fb831115dfb6bc2bf8
tree4090627f4f7b54e1bc07bf2bd2fe5e12ef36f07e
parentbbd0c5a2a24f55d2a340fbeb4f1b8c79e58e3c47
GtkStyleContext: Add animation machinery.

Animation regions are confined through gtk_style_context_[push|pop]_animatable_region,
anything that's painted between these calls will be invalidated if an animation starts
for any of the regions in the stack.

gtk_style_context_notify_state_change() may be called from widgets to indicate a
change for a given GtkStateType, in that case an animation will be started if there
is an animation description for the widget/state.
gtk/gtkstylecontext.c
gtk/gtkstylecontext.h
gtk/gtkthemingengine.c